package com.rentalcar.rental_car.service;

import com.rentalcar.rental_car.entity.Result;
import com.rentalcar.rental_car.entity.Role;

import java.util.List;

public interface RoleService {
    List<Role> getRoleAll();
    List<Role> selectByName(String rname);
    Result add(Role role);
    int update(Role role);
    int delete(Role role);
    Result loginCheck(Role role);
    Result logOut(Role role);
}
